/* 通用*/
.el-hide {
    display: none !important;
}

.el-show {
    display: block !important;
}

/* 加载动画*/
.app-loading {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fff;
    z-index: 9999;
}

.app-loading__logo {
    margin-bottom: 30px;
}

.app-loading__logo img {
    width: 90px;
    vertical-align: bottom;
}

.app-loading__loader {
    box-sizing: border-box;
    width: 35px;
    height: 35px;
    border: 5px solid transparent;
    border-top-color: #000;
    border-radius: 50%;
    animation: .5s loader linear infinite;
    position: relative;
}

.app-loading__loader:before {
    box-sizing: border-box;
    content: '';
    display: block;
    width: inherit;
    height: inherit;
    position: absolute;
    top: -5px;
    left: -5px;
    border: 5px solid #ccc;
    border-radius: 50%;
    opacity: .5;
}

.app-loading__title {
    font-size: 24px;
    color: #333;
    margin-top: 30px;
}

.dark .app-loading {
    background: #222225;
}

.dark .app-loading__loader {
    border-top-color: #fff;
}

.dark .app-loading__title {
    color: #d0d0d0;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 顶部右侧 */
.user-bar {
    display: flex;
    align-items: center;
    height: 100%;
}

.user-bar .panel-item {
    padding: 0 10px;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
}

.user-bar .panel-item i {
    font-size: 16px;
}

.user-bar .panel-item:hover {
    background: rgba(0, 0, 0, 0.1);
}

.user-bar .user-avatar {
    height: 49px;
    display: flex;
    align-items: center;
}

.user-bar .user-avatar label {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    cursor: pointer;
}

.msg-list li {
    border-top: 1px solid #eee;
}

.msg-list li a {
    display: flex;
    padding: 20px;
}

.msg-list li a:hover {
    background: #ecf5ff;
}

.msg-list__icon {
    width: 40px;
    margin-right: 15px;
}

.msg-list__main {
    flex: 1;
}

.msg-list__main h2 {
    font-size: 15px;
    font-weight: normal;
    color: #333;
}

.msg-list__main p {
    font-size: 12px;
    color: #999;
    line-height: 1.8;
    margin-top: 5px;
}

.msg-list__time {
    width: 100px;
    text-align: right;
    color: #999;
}

.dark .msg-list__main h2 {
    color: #d0d0d0;
}

.dark .msg-list li {
    border-top: 1px solid #363636;
}

.dark .msg-list li a:hover {
    background: #383838;
}

/* 顶部搜索 */
.sc-search-no-result {
    text-align: center;
    margin: 40px 0;
    color: #999;
}

.sc-search-history {
    margin-top: 10px;
}

.sc-search-history .el-tag {
    cursor: pointer;
}

.sc-search-result {
    margin-top: 15px;
}

.sc-search-result li {
    height: 56px;
    padding: 0 15px;
    background: var(--el-bg-color-overlay);
    border: 1px solid var(--el-border-color-light);
    list-style: none;
    border-radius: 4px;
    margin-bottom: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.sc-search-result li i {
    font-size: 20px;
    margin-right: 15px;
}

.sc-search-result li:hover {
    background: var(--el-color-primary);
    color: #fff;
    border-color: var(--el-color-primary);
}

/* 顶部菜单追加*/
.adminui-header a {
    color: #fff;
    display: flex;
}

.adminui-header .nav {
    margin-left: 13px;
}

.adminui-header .nav a {
    padding: 0 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.adminui-header .nav a:hover {
    color: #fff;
}

.adminui-header .nav li.active a {
    color: #fff;
}

.el-menu .el-menu-item a {
    position: initial;
}

.el-menu-item.is-active {
    background-color: var(--el-menu-hover-bg-color);
}

.adminui-header .logo-bar {
    width: 176px;
    max-width: 176px;
}

.adminui-header .logo-bar sup.is-fixed {
    font-size: 9px;
    line-height: 9px;
    padding-left: 5px;
}

.aminui-side-split li a {
    color: #fff;
}

/* 登陆页样式*/
.login_bg {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
}

.login_adv {
    width: 33.33333%;
    background-color: #555;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.login_adv__title {
    color: #fff;
    padding: 40px;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 2;
}

.login_adv__title h2 {
    font-size: 40px;
}

.login_adv__title h4 {
    font-size: 18px;
    margin-top: 10px;
    font-weight: normal;
}

.login_adv__title p {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.login_adv__title div {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.login_adv__title div span {
    margin-right: 15px;
}

.login_adv__title div i {
    font-size: 40px;
}

.login_adv__title div i.add {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.login_adv__bottom {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    color: #fff;
    padding: 40px;
    background-image: linear-gradient(transparent, #000);
    z-index: 3;
}

.login_adv__mask {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.login_main {
    flex: 1;
    overflow: auto;
    display: flex;
}

.login-form {
    width: 400px;
    margin: auto;
    padding: 20px 0;
    min-height: 540px;
}

.login-header {
    margin-bottom: 40px;
}

.login-header .logo {
    display: flex;
    align-items: center;
}

.login-header .logo img {
    width: 40px;
    height: 40px;
    vertical-align: bottom;
    margin-right: 10px;
}

.login-header .logo label {
    font-size: 26px;
    font-weight: bold;
}

.login-oauth {
    display: flex;
    justify-content: space-around;
}

.login-form .el-divider {
    margin-top: 40px;
}

.login-form .el-tabs .el-tabs__header {
    margin-bottom: 25px;
}

.login-form .el-tabs .el-tabs__header .el-tabs__item {
    font-size: 14px;
}

.login-form .login-forgot {
    text-align: right;
}

.login-form .login-forgot a {
    color: var(--el-color-primary);
}

.login-form .login-forgot a:hover {
    color: var(--el-color-primary-light-3);
}

.login-form .login-reg {
    font-size: 14px;
    color: var(--el-text-color-primary);
}

.login-form .login-reg a {
    color: var(--el-color-primary);
}

.login-form .login-reg a:hover {
    color: var(--el-color-primary-light-3);
}

.login_config {
    position: absolute;
    top: 20px;
    right: 20px;
}

.login-form .login-msg-yzm {
    display: flex;
    width: 100%;
}

.login-form .login-msg-yzm .el-button {
    margin-left: 10px;
    --el-button-size: 42px;
}

.login-form .captcha .el-input-group__append {
    padding: 1px 1px 1px 0px
}

.login-form .captcha img {
    height: 40px;
    cursor: pointer;
}

.qrCodeLogin {
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.qrCodeLogin img.qrCode {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.qrCodeLogin p.msg {
    margin-top: 15px;
}

.qrCodeLogin .qrCodeLogin-result {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    background: var(--el-mask-color);
}

@media (max-width: 1200px) {
    .login-form {
        width: 340px;
    }
}

@media (max-width: 1000px) {
    .login_main {
        display: block;
    }

    .login_main .login_config {
        position: static;
        padding: 20px 20px 0 20px;
        text-align: right;
    }

    .login-form {
        width: 100%;
        padding: 20px 40px;
    }

    .login_adv {
        display: none;
    }
}

.adminui-main .adminui-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.el-breadcrumb {
    margin-left: 15px;
}

.el-breadcrumb .el-breadcrumb__inner .icon {
    font-size: 14px;
    margin-right: 5px;
    float: left;
}

.breadcrumb-enter-active,
.breadcrumb-leave-active {
    transition: all 0.3s;
}

.breadcrumb-enter-from,
.breadcrumb-leave-active {
    opacity: 0;
    transform: translateX(20px);
}

.breadcrumb-leave-active {
    position: absolute;
}